<!-- 加分项 -->
<template>
  <div class="page_padding">
    <MyNavBar @goback="goback" :title="title" />
    <BonusTwo :bonusType="bonusType" />
  </div>
</template>

<script>
import MyNavBar from '@com/MyNavBar'
import BonusOne from './BonusOne'
import BonusTwo from './BonusTwo'
export default {
  components: {
    MyNavBar,
    BonusOne,
    BonusTwo,
  },
  data() {
    return {
      title: '加分项',
      officePower: true,
      userInfo: JSON.parse(localStorage.userInfo),
      tabsActive: 0,

      bonusType: '1',
    }
  },
  created() {},
  mounted() {},
  methods: {
    goback() {
      this.$router.go(-1)
    },
    onTabsClick(name, title) {
      this.$store.state.pageTab = this.$route.path + this.tabsActive
    },
  },
}
</script>

<style lang="scss" scoped>
.page_padding {
  .tabs_box {
    top: 48px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 10;
    /deep/.van-tabs--line .van-tabs__wrap {
      height: 40px;
      .my_tab {
        font-weight: bold;
      }
      .van-tab__text {
        font-size: 13px;
      }
    }
  }
}
</style>
